package com.skeyedu.springcloud.server.impl;

import com.skeyedu.springcloud.server.HelloApi;
import com.skeyedu.springcloud.server.RegService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author ${董荣盛}
 * @创建时间 2021/4/20
 * Description:
 */
@Service
public class RegServiceImpl implements RegService {

    @Autowired
    private HelloApi helloApi;

    @Override
    public String regete() {
        String name = helloApi.hello1();
        return "hello ---"+name;
    }
}
